interface StateType{
    count:number
}

export default{
    namespaced:true,
    state(){
        return{
            count:0
        }
    },
    mutations:{
        INCREMENT(state:StateType,payload:number){
            state.count=state.count+payload
        }
    }
}